﻿using System;
using System.Runtime.Serialization;

namespace Akabana.Amf.Exception
{
#if! SILVERLIGHT
    [Serializable]
#endif
    public class MethodNotFoundException :
#if SILVERLIGHT
 System.Exception
#else
        System.Exception,ISerializable
#endif
    {
        /**
         * <summary>コンストラクタ</summary>
         */
        public MethodNotFoundException()
            : base("Method is not found.")
        {
        }
        /**
         * <summary>コンストラクタ</summary>
         * <param name="message">型の名称</param>
         */
        public MethodNotFoundException(string message)
            : base("Method(" + message + ") is not found.")
        {
        }
    }
}
